// 引入组件
import WgTable from './table/table.vue'
import WgTableColumn from './table/column.vue'
import WgDictionary from './dictionary.vue'
import LdTable from './economicTable.vue'
import WgPrice from './price.vue'
import WgSelect from './select.vue'
import WgSearch from './search.vue'
import EcoThresholdValue from './eco/thresholdValue.vue'
import EcoThresholdValuePlus from './eco/thresholdValuePlus.vue'
import WgUploader from './uploader.vue'
import EcoPicker from './eco/picker.vue'
import EcoTableLink from './eco/ecoTableLink.vue'
import whether from './eco/whether.vue'
import WigemCommon from './wigem'
import WgShuttleBox from './shuttleBox.vue'
import TableTag from './tableTag.vue'
import Clock from './clock.vue'
import addSpace from './eco/addSpace.vue'
//数字滚动组件
import digitalScroll from './digitalScroll.vue'
import outHiding from './outOfHiding.vue'
import WgCardEco from './cardEco.vue'
import FlagAreaSlot from './flagAreaSlot.vue'
import stylePacking from './eco/stylePackingValue.vue'
import Editor from '../editor/index.vue'
//按钮栏组件
import ButtonBar from './buttonBar.vue'
// 在线预览pdf
import PreviewPdf from './previewPdf.vue'
import WgDialogFooter from './elementPlus/dialog/footer.vue'
// 数据汇总
import WgCardSummary from './cardSummary.vue'
import selectV2 from './selectV2.vue'
//报告期组件
import GovSelectReport from "./gov/govSelectReport.vue";
//审批日志修改日志
import GovFormLog from "./gov/govFormLog.vue";
// 定义 Wigem 对象
const Wigem = {
    // install 是默认的方法。当外界在 use 这个组件的时候，就会调用本身的 install 方法，同时传一个 Vue 这个类的参数。
    install: (Vue: any) => {
        Vue.component('wg-search', WgSearch)
        Vue.component('wg-table', WgTable)
        Vue.component('wg-table-column', WgTableColumn)
        Vue.component('ld-table', LdTable)
        Vue.component('wg-dictionary', WgDictionary)
        Vue.component('wg-price-value', WgPrice)
        Vue.component('wg-select', WgSelect)
        Vue.component('wg-uploader', WgUploader)
        Vue.component('wg-threshold-value', EcoThresholdValue)
        Vue.component('wg-threshold-plus', EcoThresholdValuePlus)
        Vue.component('eco-packing-value', stylePacking)
        Vue.component('eco-picker', EcoPicker)
        Vue.component('wg-whether', whether)
        Vue.component('wg-shuttle-box', WgShuttleBox)
        Vue.component('wg-tag', TableTag)
        Vue.component('wg-clock', Clock)
        Vue.component('wg-addSpace', addSpace)
        Vue.component('wg-digital-scroll', digitalScroll)
        Vue.component('wg-hiding', outHiding)
        Vue.component('wg-card-eco', WgCardEco)
        Vue.component('eco-flag-area-slot', FlagAreaSlot)
        Vue.component('wg-editor', Editor)
        Vue.component('wg-button-bar', ButtonBar)
        Vue.component('wg-preview-pdf', PreviewPdf)
        Vue.component('wg-dialog-footer', WgDialogFooter)
        Vue.component('wg-card-summary', WgCardSummary)
        Vue.component('wg-select-v2', selectV2)
        Vue.component('gov-select-report', GovSelectReport)
        Vue.component('gov-form-log', GovFormLog)
    },
    common: WigemCommon
}


// 导出
export default Wigem